package com.university.trade.service.impl;

import javax.annotation.Resource;

import com.university.trade.dao.ProductPictureMapper;
import com.university.trade.entity.ProductPicture;
import com.university.trade.service.ProductPictureService;

public class ProductPictureServiceImpl implements ProductPictureService {
	@Resource
	private ProductPictureMapper productPictureMapper;
	@Override
	public int deleteByPrimaryKey(String picId) {
		return this.productPictureMapper.deleteByPrimaryKey(picId);
	}

	@Override
	public int insert(ProductPicture record) {
		return this.productPictureMapper.insert(record);
	}

	@Override
	public int insertSelective(ProductPicture record) {
		return this.productPictureMapper.insertSelective(record);
	}

	@Override
	public ProductPicture selectByPrimaryKey(String picId) {
		return this.productPictureMapper.selectByPrimaryKey(picId);
	}

	@Override
	public int updateByPrimaryKeySelective(ProductPicture record) {
		return this.productPictureMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ProductPicture record) {
		return this.productPictureMapper.updateByPrimaryKey(record);
	}

}
